
c = 20
i = 0
t = 0
while True:
    i += 1
    t += 3
    if t >=c:
        print("青蛙第{}天爬出来了".format(i))
        exit(0)
    t = t -2
    #t -= 2
